﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SDF.Web.UI
{
    /// <summary>
    /// 后台页面基类
    /// </summary>
    public class PageBack : PageBase
    {

        public PageBack()
        {
            this.Load += new EventHandler(PageBack_Load);
        }

        void PageBack_Load(object sender, EventArgs e)
        {
            if (!IsAdminLogin())
            {
                Response.Write("<script>parent.location.href='/12t_manage'</script>");
                Response.End();
            }
        }

        public bool IsAdminLogin()
        {
            //TODO:
            return true;
        }
    }
}